//引入m0ck
import Mock from 'mockjs';

import banner from './banner.json'
import good from './good.json'
import book from './book.json'
//把JSON数据格式引进来[JSON数据格式不用暴露  默认暴漏]
// webpack默认对外暴漏:图片,JSON数据格式
Mock.mock("/mock/banner",{code:200,data:banner})// 模拟轮播图的数据
Mock.mock("/mock/good",{code:200,data:good})// 模拟解压商城的数据
Mock.mock("/mock/book",{code:200,data:book})
